const router = require('express').Router()
const { createReserve, joinReserve, removeReserve,quitReserve, getReserve,updateReserve } = require('../controllers/reserveControllers')
const { verifiedFunction, checkAdmin, checkStore } = require("./verifyJwtToken");

router.post('/create',verifiedFunction,createReserve)
router.post('/join',verifiedFunction,joinReserve)
router.post('/update',updateReserve)

router.post('/remove', removeReserve)
router.post('/quit',quitReserve)

router.get('/get', getReserve)


module.exports = router